package com.briup.cms.log;

import com.briup.cms.bean.BaseLog;
import com.briup.cms.dao.BaseLogMapper;
import org.springframework.beans.factory.annotation.Autowired;


/**
 * 日志持久化的mybaits实现
 */
public class DefaultLoggingAccessPersistingImpl implements LoggingAccessPersisting {

	@Autowired
	private BaseLogMapper baseLogMapper;

	@Override
	public void persist(BaseLog log) {
		baseLogMapper.insert(log);
	}
	
}
